<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>邀请新代理</title>
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" href="/css/all.css"/>
    <link rel="stylesheet" href="/css/list2.css"/>
</head>
<body>
<div class="title">邀请新代理
    <div class="title_left"><a href="/">返回</a></div>
</div>
    <div class="main">
        <ul class="ul1">
            <li>代理:<span>{{$data['data']['username']}}</span></li>
            <li>授权号：<span>{{$data['data']['authorization_number']}}</span></li>
            <li>代理级别: <span class="red">{{$levinfo['lev_name']}}</span></li>
            <li>加入时间： <span>{{$data['data']['created_at']}}</span></li>
        </ul>
        @foreach($lev as $v)
        <button type="button" onclick="window.location.href='/invite/create?lev={{$v['id']}}'">{{$v['lev_name']}}</button>
        @endforeach
    </div>
</body>
</html>